package learn.up.java1.anno;

import java.io.Serializable;
@Table("emp")
public class Filter implements Serializable{

	private static final long serialVersionUID = -8750821826170222605L;
	@Column("name")
	private String name;
	@Column("nick")
	private String nick;
	@Column("city")
	private String city;
	@Column("age")
	private Integer age;
	@Column("id")
	private Integer id;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return name + ", " + nick + ", " + city + ", " + age + ", " + id;
	}
	
	
}
